//
//  FIShowAlert.h
//  Huitang
//
//  Created by zou shigang on 14/7/1.
//  Copyright (c) 2014年 LC_WORLD. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView(add_loading_animation)
-(void) startLoadingAnimation;	//开始加载动画
-(void) stopLoadingAnimation;	//结束加载动画
@end

//base alert
@interface BaseAlertLabelView : UIView
{
    UILabel * alertLabel;
    UILabel * alertLabel_Title;
    NSTimer * timer;
    
    UIActivityIndicatorView * activity;
}
@property (nonatomic, retain) NSTimer *timer;

+ (BaseAlertLabelView *)getAlertLabelView:(UIView*)baseview;
- (void)showBaseViewWithString:(NSString *)string;
- (void)showMsg:(NSString *)string;
- (void)stopActivity;
+ (void)stopShowMsg;

+ (BaseAlertLabelView *)getAlertLabelView;
- (void)showWithString:(NSString *)string;
- (void)showWithString:(NSString *)string andTitle:(NSString*)title;

+ (void)PostLocalInfo:(NSString*)info;
+ (void)CancelLocalInfo:(NSString*)info;
+ (void)playSound:(BOOL)success;

@end
